package net.junaoki.persistence;

import java.util.List;


import org.hibernate.Query;
import org.hibernate.Session;

public class Table1Dao {

	public List<Table1> get() {
        Session session = HibernateUtil.getCurrentSession();
        Query query = session.createQuery("FROM " + Table1.class.getName());
        return (List<Table1>)query.list();
	}

}
